home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr50
/
smiley2c.zip
/
SMILEY.BAS
next >
Wrap
BASIC Source File
|
1993-02-17
|
10KB
|
278 lines
CLS
RANDOMIZE TIMER
c% = INT(RND * 10) + 1
COLOR c%
PRINT STRING$(5, 1)
PRINT STRING$(1, 1)
PRINT STRING$(5, 1)
PRINT " ";
PRINT STRING$(1, 1)
PRINT STRING$(5, 1);
PRINT "MILEY FACE ARENA"
PRINT
PRINT "Created By: Anthony Maniscalco"
ON PLAY(3) GOSUB Background
PLAY ON
Music$ = "MBo3L8ED+ED+Eo2Bo3DCL2o2A"
PLAY Music$
LOCATE 2, 1
DO WHILE INKEY$ = "": LOOP
END
Background:
i% = i% + 1
LOCATE 1, 1: PRINT : PRINT : PRINT : PRINT : PRINT : PRINT : PRINT : PRINT
PLAY Music$
RANDOMIZE TIMER
c% = INT(RND * 10) + 1
COLOR c%
INPUT "Please enter your name. ", A$
CLS
RANDOMIZE TIMER
c% = INT(RND * 10) + 1
COLOR c%
PRINT "The object of the game is to win 3 face-offs in the Smiley Face Arena."
PRINT "Your energy level is 5. If your energy level decreases to 0, you will"
PRINT "wear a frown, as you are eliminated from the arena."
INPUT "Please press enter to start the game. ", B$
CLS
'Play scale in 7 different octaves
scale$ = "CDEFGAB"
PLAY "L16"
FOR i% = 0 TO 6
PLAY "O" + STR$(i%)
PLAY "X" + VARPTR$(scale$)
NEXT i%
PRINT STRING$(80, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " Face-Off 1 ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(80, 2)
PRINT
PRINT "At the command prompts input: (1)Frown, (2)Grimace, or (3)Smirk."
e = 0
f = 0
1 RANDOMIZE TIMER
d% = INT(RND * 3) + 1
PRINT STRING$(1, 1);
INPUT " ", g
IF g = d% THEN PRINT "You ";
IF g = d% THEN IF g = 1 THEN PRINT "frown at your opponent.": e = e + 1
IF g = d% THEN IF g = 2 THEN PRINT "grimace at your opponent.": e = e + 1
IF g = d% THEN IF g = 3 THEN PRINT "smirk at your opponent.": e = e + 1
IF e = 3 THEN GOTO 2
IF g = d% THEN GOTO 1
IF g = 1 THEN PRINT "You frown at your opponent, but he viciously frowns back!": f = f + 1
IF g = 2 THEN PRINT "You grimace at your opponent, but he wickedly grimaces back!": f = f + 1
IF g = 3 THEN PRINT "You smirk at your opponent, but he maliciously smirks back!": f = f + 1
IF f = 5 THEN PRINT "You have lost all of your energy and are eliminated from the"
IF f = 5 THEN PRINT "the arena. Thank you for playing, and remember, Smile!": END
GOTO 1
2 PRINT "Congratulations! You have won Face-Off 1! You will now play a bonus"
PRINT "game or you may choose to quit: (R)oll the dice; (Q)uit."
PRINT STRING$(1, 1);
INPUT " ", h$
IF h$ = "Q" THEN END
RANDOMIZE TIMER
x% = INT(RND * 6) + 1
PRINT "The dice roll is "; x%; "."
IF x% = 1 THEN PRINT "You win 1 energy block!": f = f - 1
IF x% = 2 THEN PRINT "You win 2 energy blocks!": f = f - 2
IF x% = 3 THEN PRINT "You win 1 energy block!": f = f - 1
IF x% = 4 THEN PRINT "You win 2 energy blocks!": f = f - 2
IF x% = 5 THEN PRINT "You win praise from the Happy Face Crowd!"
IF x% = 6 THEN PRINT "You win praise from the Happy face Crowd!"
INPUT "Please press enter to begin Face-Off 2. ", i$
CLS
e = 0
COLOR 2
'Play scale in 7 different octaves
scale$ = "BAGFEDC"
PLAY "L16"
FOR i% = 0 TO 6
PLAY "O" + STR$(i%)
PLAY "X" + VARPTR$(scale$)
NEXT i%
PRINT STRING$(80, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " Face-Off 2 ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(80, 2)
PRINT
PRINT "At the command prompts input: (1)Frown, (2)Grimace, or (3)Smirk."
3 RANDOMIZE TIMER
d% = INT(RND * 3) + 1
PRINT STRING$(1, 1);
INPUT " ", g
IF g = d% THEN PRINT "You ";
IF g = d% THEN IF g = 1 THEN PRINT "frown at your opponent.": e = e + 1
IF g = d% THEN IF g = 2 THEN PRINT "grimace at your opponent.": e = e + 1
IF g = d% THEN IF g = 3 THEN PRINT "smirk at your opponent.": e = e + 1
IF e = 3 THEN GOTO 4
IF g = d% THEN GOTO 3
IF g = 1 THEN PRINT "You frown at your opponent, but he viciously frowns back!": f = f + 1
IF g = 2 THEN PRINT "You grimace at your opponent, but he wickedly grimaces back!": f = f + 1
IF g = 3 THEN PRINT "You smirk at your opponent, but he maliciously smirks back!": f = f + 1
IF f = 5 THEN PRINT "You have lost all of your energy and are eliminated from the"
IF f = 5 THEN PRINT "the arena. Thank you for playing, and remember, Smile!": END
GOTO 3
4 PRINT "Congratulations! You have won Face-Off 2! You will now play a bonus"
PRINT "game or you may choose to quit: (R)oll the dice; (Q)uit."
PRINT STRING$(1, 1);
INPUT " ", h$
IF h$ = "Q" THEN END
RANDOMIZE TIMER
x% = INT(RND * 6) + 1
PRINT "The dice roll is "; x%; "."
IF x% = 6 THEN PRINT "You win 1 energy block!": f = f - 1
IF x% = 5 THEN PRINT "You win 2 energy blocks!": f = f - 2
IF x% = 4 THEN PRINT "You win 1 energy block!": f = f - 1
IF x% = 3 THEN PRINT "You win 2 energy blocks!": f = f - 2
IF x% = 2 THEN PRINT "You win praise from the Happy Face Crowd!"
IF x% = 1 THEN PRINT "You win praise from the Happy face Crowd!"
INPUT "Please press enter to begin Face-Off 3. ", i$
CLS
COLOR 3
'Play scale in 7 different octaves
scale$ = "CEDFEGFAGBACB"
PLAY "L16"
FOR i% = 0 TO 6
PLAY "O" + STR$(i%)
PLAY "X" + VARPTR$(scale$)
NEXT i%
PRINT STRING$(80, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " Face-Off 3 ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(1, 2);
PRINT " ";
PRINT STRING$(1, 2)
PRINT STRING$(80, 2)
PRINT
e = 0
PRINT "At the command prompts input: (1)Frown, (2)Grimace, or (3)Smirk."
5 RANDOMIZE TIMER
d% = INT(RND * 3) + 1
PRINT STRING$(1, 1);
INPUT " ", g
IF g = d% THEN PRINT "You ";
IF g = d% THEN IF g = 1 THEN PRINT "frown at your opponent.": e = e + 1
IF g = d% THEN IF g = 2 THEN PRINT "grimace at your opponent.": e = e + 1
IF g = d% THEN IF g = 3 THEN PRINT "smirk at your opponent.": e = e + 1
IF e = 3 THEN GOTO 6
IF g = d% THEN GOTO 5
IF g = 1 THEN PRINT "You frown at your opponent, but he viciously frowns back!": f = f + 1
IF g = 2 THEN PRINT "You grimace at your opponent, but he wickedly grimaces back!": f = f + 1
IF g = 3 THEN PRINT "You smirk at your opponent, but he maliciously smirks back!": f = f + 1
IF f = 5 THEN PRINT "You have lost all of your energy and are eliminated from the"
IF f = 5 THEN PRINT "the arena. Thank you for playing, and remember, Smile!": END
GOTO 5
6 PRINT
PRINT "Congratulations! You have won all three Face-Offs in the Smiley Face"
PRINT "Arena! As your fellow happy faces lift you off the ground, joyfully"
PRINT "throwing you up and down in the air, they chant 'Champion!'"
'Play scale in 7 different octaves
scale$ = "CDEFGABAGFEDC"
PLAY "L16"
FOR i% = 0 TO 6
PLAY "O" + STR$(i%)
PLAY "X" + VARPTR$(scale$)
NEXT i%
INPUT "Please press enter. ", Winner$
CLS
PRINT STRING$(5, 1)
PRINT STRING$(1, 1)
PRINT STRING$(1, 1)
PRINT STRING$(1, 1)
PRINT STRING$(5, 1);
PRINT "ONGRATULATIONS!"
PRINT
PRINT "Looking for a superb game? Try Cosmic.zip (Cosmic's Adventure) at your"
PRINT "local BBS today!"
PRINT "Thanks you for playing and remember to SMILE!"
END